* lisp/url/url.el (url-retrieve-synchronously):
Set url-asynchronous to t when TIMEOUT is non-nil (bug#71295).
TIMEOUT is passed, it should be a number that says (in seconds)
how long to wait for a response before giving up."
(url-do-setup)
- (let* (url-asynchronous
+ (let* (;; Ensure we can stop during connection setup (bug#71295).
+ (url-asynchronous (not (null timeout)))
data-buffer
(callback (lambda (&rest _args)
(setq data-buffer (current-buffer))